package com.yeyaomai.dksns.flowis.service;

import org.springframework.data.domain.Page;
import com.yeyaomai.dksns.flowis.domain.FlowUser;

public interface FlowUserService {

	void addFlowUser(FlowUser flowUser);
	
	boolean isExistFlowUser(String userName);
	
	Page<FlowUser>  listFlowUser(Integer currentpage);
	
	void deleteFlowUser(Long userId);
	
	void updateFlowUser(FlowUser flowUser);
	
	FlowUser getFlowUserByUserId(Long userId);
	
	FlowUser getFlowUserByUserName(String userName);
	
	FlowUser loginCheck(FlowUser user);
}
